package hy;

import hy.entity.Person;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.ImportResource;

@ImportResource(locations="classpath:b.xml")
@SpringBootApplication
public class Day301Application {

	public static void main(String[] args) {
		ApplicationContext app = SpringApplication.run(Day301Application.class, args);
		System.out.println("==============="+app.getBean(Person.class)+"===============");
	}

}
